package com.isp.common.model.enums;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/1/24 14:22
 */
public enum DataScope {
    ALL(0, "全部权限"),
    CREATOR(1, "创建者权限");

    private final Integer code;
    private final String desc;

    DataScope(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}